<div class="row-fluid">
<div class="span3 offset4">
<h4 align="center">Add Efficiency</h4>
<table>
<?= form_open(current_url()) ?>
<?= validation_errors(); ?>
<tr><td></td>
	<td><select name="designation_id"><option>-- Select Designation --</option>
		<?php foreach ($query as $row){ ?>
		<option value="<?= $row->id; ?>"><?= $row->name; ?></option>
		<?php } ?>
		</select></td>
</tr>
<tr>
	<td>Name: </td>
	<td><input type="text" name="efficiencyname" placeholder="Efficiency Name"/></td>
</tr>
<tr>
	<td>Fields: </td>
	<td><input type="text" name="efficiencyfields" placeholder="Efficiency Fields"/></td>
</tr>
<tr><td></td><td><i class="icon-hand-right"></i> For multiple fields use comma</td></tr>
<tr>
	<td></td>
	<td><input type="submit" value="Add" class="btn btn-success"/></td>
</tr>
</form>
</table>
</div>

<div class="span11" style="margin-top: 60px;">
<header><i class="icon-align-left"></i> Predefined Efficiency </header>
<table class="table table-striped table-bordered" width="100%" id="example">
<thead>
	  <tr>
	  	<th>Name of the efficiency</th>    
	    <th>User associated with it</th>   
		 <th>Knowledge he may have</th>   
		 <th>Action</th>    
	  </tr>
</thead>
<?php
	foreach($getefficiency as $row){
		$pID=$row->id;
	  echo "<tr>";
	     echo "<td>". ucfirst($row->efficiencyname) ."</td>";
	    echo "<td>". ucfirst($row->titlename) ."</td>";
		 echo "<td>". $row->subfields ."</td>";
		   echo "<td>" .'<a href="'.site_url("founder/jobprofile/delete_efficiency/".$pID).'">'.'<i class="icon-trash icon-white"></i>'.'</a>'."</td>";
	  echo "</tr>";  
	}
?>
</table>
</div></div>